//
//  RVUserInfoController.swift
//  AirTravel
//
//  Created by apple on 2021/11/12.
//

import UIKit

class RVUserInfoController: CommonVC {

    @IBOutlet weak var imgView: UIImageView!
    
    @IBOutlet weak var nameLabel: UILabel!
    
    @IBOutlet weak var sexyLabel: UILabel!

    @IBOutlet weak var birthdayLabel: UILabel!

    @IBOutlet weak var statusLabel: UILabel!


    override func viewDidLoad() {
        super.viewDidLoad()
        head.title.text = "个人资料"

        if let user = UserManager.shared.currentUser {
           // , let url = URL(string: user.avatar)
            
            nameLabel.text = user.nickname
            
        }
        
    }

    
    @IBAction func tapAvatar(_ sender: Any) {
    }
    
    @IBAction func tapName(_ sender: Any) {
    }
    
    @IBAction func tapSex(_ sender: Any) {
    }
    
    @IBAction func tapBirthday(_ sender: Any) {
    }
    
    @IBAction func tapInfo(_ sender: Any) {
    }
    
}
